package com.hjxy.pojo;

//学生考勤实体类（ztt）
public class StudentAtt {
    private int number;//编号
    private int sno;//学号
    private String name;//姓名
    private String classroom;//班级
    private String leaveReason;//请假原因
    private String leaveStart;//请假开始时间
    private String leaveEnd;//请假结束时间
    private String approver;//批准人

    public StudentAtt() {
    }

    public StudentAtt(int number, int sno, String name, String classroom, String leaveReason, String leaveStart, String leaveEnd, String approver) {
        this.number = number;
        this.sno = sno;
        this.name = name;
        this.classroom = classroom;
        this.leaveReason = leaveReason;
        this.leaveStart = leaveStart;
        this.leaveEnd = leaveEnd;
        this.approver = approver;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getSno() {
        return sno;
    }

    public void setSno(int sno) {
        this.sno = sno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public String getLeaveReason() {
        return leaveReason;
    }

    public void setLeaveReason(String leaveReason) {
        this.leaveReason = leaveReason;
    }

    public String getLeaveStart() {
        return leaveStart;
    }

    public void setLeaveStart(String leaveStart) {
        this.leaveStart = leaveStart;
    }

    public String getLeaveEnd() {
        return leaveEnd;
    }

    public void setLeaveEnd(String leaveEnd) {
        this.leaveEnd = leaveEnd;
    }

    public String getApprover() {
        return approver;
    }

    public void setApprover(String approver) {
        this.approver = approver;
    }

    @Override
    public String toString() {
        return "StudentAtt{" +
                "number=" + number +
                ", sno=" + sno +
                ", name='" + name + '\'' +
                ", classroom='" + classroom + '\'' +
                ", leaveReason='" + leaveReason + '\'' +
                ", leaveStart='" + leaveStart + '\'' +
                ", leaveEnd='" + leaveEnd + '\'' +
                ", approver='" + approver + '\'' +
                '}';
    }
}
